Part 1: Move HTMLDocument.domain getter/setter to Document Differential Revision: https://phabricator.services.mozilla.com/D32386 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1467625 gecko-commit: cc79cf9eea2efbe89c59da718e92772acae1aefd gecko-integration-branch: autoland gecko-reviewers: farre
diff --git a/xhr/responsexml-document-properties.htm b/xhr/responsexml-document-properties.htm index b008348..9071fab 100644 --- a/xhr/responsexml-document-properties.htm +++ b/xhr/responsexml-document-properties.htm
@@ -12,9 +12,11 @@ var client = new XMLHttpRequest() client.open("GET", "resources/well-formed.xml", false) client.send(null) - var responseURL = new URL('resources/well-formed.xml', location.href).href + var responseURLObject = new URL('resources/well-formed.xml', location.href); + var responseURL = responseURLObject.href + var responseDomain = responseURLObject.hostname var expected = { - domain:undefined, + domain:responseDomain, URL:responseURL, documentURI:responseURL, baseURI:responseURL,